<?php

return [
    'default' => 'jyrpo',
    'tuxedo_sign' => chr(26),
    'connections' => [
        'jyrpo_oracle' => [
            'driver' => 'tuxedo',
            'database' => 'jingying',
            'server' => 'ORACLE',
            'dbtype' => 'ORACLE',
            'dbid' => 1,
        ],
        'jyrpo' => [
            'driver' => 'tuxedo',
            'database' => 'rpopro',
            'server' => 'MYSQL',
            'dbtype' => 'MYSQL',
            'dbid' => 1
        ],
        'jyrpo_1' => [
            'driver' => 'tuxedo',
            'database' => 'rpopro',
            'server' => 'MYSQL',
            'dbtype' => 'MYSQL',
            'dbid' => 1
        ],
        'jyrpo_2' => [
            'driver' => 'tuxedo',
            'database' => 'rpopro',
            'server' => 'MYSQL',
            'dbtype' => 'MYSQL',
            'dbid' => 2
        ],
        'jyrpo_pdo' => [
            'driver' => 'MYSQL',
            'host' => '192.168.70.46',
            'port' => '3306',
            'database' => 'rpopro',
            'username' => 'rpopro',
            'password' => decrypt(env('RPOPRO_MYSQL_PASSWORD', '')),
            'charset' => 'GBK',
            'dbtype' => 'MYSQL',
            'dbid' => 1,
            'options' => [
                \PDO::ATTR_CASE => \PDO::CASE_LOWER,
            ]
        ],
        'jyrpo_pdo_1' => [
            'driver' => 'MYSQL',
            'host' => '192.168.70.46',
            'port' => '3306',
            'database' => 'rpopro',
            'username' => 'rpopro',
            'password' => decrypt(env('RPOPRO_MYSQL_PASSWORD', '')),
            'charset' => 'GBK',
            'dbtype' => 'MYSQL',
            'dbid' => 1,
            'options' => [
                \PDO::ATTR_CASE => \PDO::CASE_LOWER,
            ]
        ],
        'jyrpo_pdo_2' => [
            'driver' => 'MYSQL',
            'host' => '192.168.70.38',
            'port' => '3306',
            'database' => 'rpopro',
            'username' => 'rpopro',
            'password' => decrypt(env('RPOPRO_MYSQL_PASSWORD', '')),
            'charset' => 'GBK',
            'dbtype' => 'MYSQL',
            'dbid' => 2,
            'options' => [
                \PDO::ATTR_CASE => \PDO::CASE_LOWER,
            ]
        ],
    ],
];